package com.usian.model.base;

import com.usian.model.common.dtos.ResponseResult;
import com.usian.model.common.enums.AppHttpCodeEnum;

public interface BaseResult {

    ResponseResult errorParam=ResponseResult.errorResult(AppHttpCodeEnum.PARAM_REQUIRE);
    ResponseResult success=ResponseResult.errorResult(AppHttpCodeEnum.SUCCESS);
    ResponseResult dataNotExist=ResponseResult.errorResult(AppHttpCodeEnum.DATA_NOT_EXIST);
    ResponseResult 图片不存在=ResponseResult.errorResult(AppHttpCodeEnum.DATA_NOT_PICTURE);
    ResponseResult 数据不存在=ResponseResult.errorResult(AppHttpCodeEnum.DATA_NOT_EXIST);
    ResponseResult paramInvalid=ResponseResult.errorResult(AppHttpCodeEnum.PARAM_INVALID);
    ResponseResult userNotExist=ResponseResult.errorResult(AppHttpCodeEnum.USER_NOT_EXIST);
    ResponseResult needLogin=ResponseResult.errorResult(AppHttpCodeEnum.NEED_LOGIN);
    ResponseResult saveFailed=ResponseResult.errorResult(AppHttpCodeEnum.SAVE_FAILED);

}
